﻿
<div class="MessageAreaParam" style="padding-top: 10px;">
    @{
        if (!MvcHtmlString.IsNullOrEmpty(ViewBag.MsgInfo))
            { <div id="msgInf"class="alert alert-info">@ViewBag.MsgInfo</div> }
        if (!MvcHtmlString.IsNullOrEmpty(ViewBag.MsgSuccess))
            { <div id="msgSuc" class="alert alert-success">@ViewBag.MsgSuccess</div> }
        if (!MvcHtmlString.IsNullOrEmpty(ViewBag.MsgWarning))
            { <div id="msgWar"class="alert alert-warning">@ViewBag.MsgWarning</div> }
        if (!MvcHtmlString.IsNullOrEmpty(ViewBag.MsgError))
            { <div id="msgErr" class="alert alert-error">@ViewBag.MsgError</div> }
                                                                             

        if (MvcHtmlString.IsNullOrEmpty(ViewBag.MsgInfo) &&
            MvcHtmlString.IsNullOrEmpty(ViewBag.MsgSuccess) &&
            MvcHtmlString.IsNullOrEmpty(ViewBag.MsgWarning) &&
            MvcHtmlString.IsNullOrEmpty(ViewBag.MsgError))
        {
                <div id="msgInfDefault"class="alert alert-warning">
                    <b>ATENÇÃO:</b><br/> Selecione um Pârametro!
                </div>
        }
    }
</div>
